#include"WorkThread.h"
WorkThread::WorkThread(ThreadPool &pool)
:_pool(pool)
{}

void WorkThread::Run(){
    _pool.doTask();
}